

import org.smoozik.services.musictheory.Note;

public class HarmonyNode {
	private HarmonyNode next;
	private HarmonyNode previous;
	private Note note;

	public HarmonyNode(Note note) {
		this.note = note;
		this.next = this;
		this.previous = this;
	}

	public HarmonyNode getNext() {
		return next;
	}

	public void setNext(HarmonyNode next) {
		this.next = next;
	}

	public HarmonyNode getPrevious() {
		return previous;
	}

	public void setPrevious(HarmonyNode previous) {
		this.previous = previous;
	}

	public Note getNote() {
		return note;
	}

	public void setNote(Note note) {
		this.note = note;
	}

	public String toString() {
		return this.note.toString();
	}

}
